home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cmdline.lha / cmdline / doc / bugs.man next >
Text File  |  1992-08-03  |  677b  |  17 lines

  1. .SH BUGS
  2. When a non-multivalued argument appears more than once on the command-line
  3. then only the last value supplied is used. A problem occurs however in the
  4. following scenario: suppose `\fB\-s\fP' is an option that takes an optional
  5. string argument (and suppose `\fB\-x\fP' is some boolean flag). Now, if the
  6. following command-line is issued:
  7.  
  8. .XS
  9. command  \-s string  \-x  \-s
  10. .XE
  11.  
  12. then, even though it may appear as if the value used will properly correspond
  13. to the second instance of the `\fB\-s\fP' option, the value associated with
  14. the option will be ``\fIstring\fP'' (because the first instance overwrote
  15. the default and the second instance left the value untouched).
  16.  
  17.